import service from '@/utils/request'

const YmAccountApi = {
  // ----------------翼码账户-----------------
  listYmAccount:function(data){
    return service.get('ymAccount/page', {params:data})
  },
  getYmAccountInfo(data){
    return service.get('ymAccount', {params:data})
  },

  setYmAccount: function (data) {
    return service.post('ymAccount/setYmAccount', data)
  },
  deleteYmAccount: function (data) {
    return service.put('ymAccount/delete', data)
  },
  getBusinessAccountInfo(data) {
    return service.get('ymAccount/listData', { params: data })
  },
  getYmAccount(data) {
    return service.get('ymAccount/getYmAccount', { params: data })
  },
  getDataByNameType(data) {
    return service.get('ymAccount/getDataByNameType', { params: data })
  },
  getDataById(data) {
    return service.get('ymAccount/getDataById', { params: data })
  },

}

export default YmAccountApi
